package com.cv.platform.controller.platform.message.vo.record;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 视频平台 - 最近聊天 Response VO
 *
 * @author Charles_XDXD
 */
@Data
@Schema(description = "视频平台 - 最近聊天 Response VO")
public class CvMessageRecentRespVO {

    @Schema(description = "会话编号")
    private Long conversationId;

    @Schema(description = "用户编号")
    private Long userId;

    @Schema(description = "用户名称")
    private String nickname;

    @Schema(description = "用户头像")
    private Long avatar;

    @Schema(description = "用户头像 URL")
    private String avatarUrl;

    @Schema(description = "最近聊天内容")
    private String content;

    @Schema(description = "最近聊天时间")
    private LocalDateTime sendTime;
    
    @Schema(description = "未读消息个数")
    private Integer unreadCount;

}
